package com.aorise.model.diagnosis;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author:cat
 * @Desicription: 诊断任务参数新增入参实体类
 * @Date:Created in 2019-06-24
 * @Modified By:
 */
@Data
@ApiModel
public class DiagnosisParamAddVO {

    @ApiModelProperty (value = "主键")
    private Integer id;

    @ApiModelProperty (value = "诊断任务ID")
    private Integer planId;

    @ApiModelProperty (value = "检测项")
    @NotNull(message = "检测项不能为空")
    private String testItem;

    @ApiModelProperty (value = "最大值")
    private Integer max;

    @ApiModelProperty (value = "最小值")
    private Integer min;

    @ApiModelProperty (value = "是否选中：1是，2否")
    @NotNull(message = "是否选中不能为空")
    private Integer checked;

    @Override
    public String toString() {
        return "DiagnosisParamAddVO{" +
                ", id='" + id + '\'' +
                ", planId='" + planId + '\'' +
                ", testItem='" + testItem + '\'' +
                ", max='" + max + '\'' +
                ", min='" + min + '\'' +
                ", checked='" + checked + '\'' +
                '}';
    }
}
